AM_CPPFLAGS = -I$(top_srcdir)

TESTS_ENVIRONMENT = top_builddir=$(top_builddir)

TESTS = \
	test_walk \
	test_iterator \
	test_store-retrieve \
	test_file \
	test_serialization \
	test_nonalpha \
	test_null_trie \
	test_term_state \
	test_byte_alpha \
	test_byte_list \
	$(NULL)

check_PROGRAMS = \
	test_walk \
	test_iterator \
	test_store-retrieve \
	test_file \
	test_serialization \
	test_nonalpha \
	test_null_trie \
	test_term_state \
	test_byte_alpha \
	test_byte_list \
	$(NULL)

noinst_HEADERS = \
	utils.h \
	$(NULL)

test_walk_SOURCES = \
	test_walk.c \
	utils.c \
	$(NULL)
test_walk_LDADD = $(top_builddir)/datrie/libdatrie.la

test_iterator_SOURCES = \
	test_iterator.c \
	utils.c \
	$(NULL)
test_iterator_LDADD = $(top_builddir)/datrie/libdatrie.la

test_store_retrieve_SOURCES = \
	test_store-retrieve.c \
	utils.c \
	$(NULL)
test_store_retrieve_LDADD = $(top_builddir)/datrie/libdatrie.la

test_file_SOURCES = \
	test_file.c \
	utils.c \
	$(NULL)
test_file_LDADD = $(top_builddir)/datrie/libdatrie.la

test_serialization_SOURCES = \
	test_serialization.c \
	utils.c \
	$(NULL)
test_serialization_LDADD = $(top_builddir)/datrie/libdatrie.la

test_nonalpha_SOURCES = \
	test_nonalpha.c \
	utils.c \
	$(NULL)
test_nonalpha_LDADD = $(top_builddir)/datrie/libdatrie.la

test_null_trie_SOURCES = \
	test_null_trie.c \
	utils.c \
	$(NULL)
test_null_trie_LDADD = $(top_builddir)/datrie/libdatrie.la

test_term_state_SOURCES = \
	test_term_state.c \
	utils.c \
	$(NULL)
test_term_state_LDADD = $(top_builddir)/datrie/libdatrie.la

test_byte_alpha_SOURCES = \
	test_byte_alpha.c \
	utils.c \
	$(NULL)
test_byte_alpha_LDADD = $(top_builddir)/datrie/libdatrie.la

test_byte_list_SOURCES = \
	test_byte_list.c \
	utils.c \
	$(NULL)
test_byte_list_LDADD = $(top_builddir)/datrie/libdatrie.la

